package javacore.Statements;

public class ifElseIfElseStatement {

	public static void main(String[] args) {
		int marks = 85;
		char grade;

		if( marks >= 90 ){
			grade='A';
		}else if( marks >= 80 ){
			grade='B';
		}else if( marks >= 70 ){
			grade='C';
		}else if( marks >= 60 ){
			grade='D';
		}else {
			grade='F';
		}
		
		System.out.print("Grade is " + grade);
	}

}
